from django.db import models

class Task(models.Model):
    title = models.CharField(max_length=50)
    task = models.TextField()
    created_at = models.DateTimeField(auto_now_add=True)
    is_deleted = models.BooleanField(default=False)
    is_completed = models.BooleanField(default=False)


    def __str__(self):
        return self.title